﻿using System;
using System.Web;


namespace mojoPortal.Web.RS.SBM
{
    public partial class RSAddNew : RSBasePage
    {

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            InitializeReadyServicePage();
            mpeModalNewLocation.Show();
        }
        protected void btnModalNewLocation_Click(object sender, EventArgs e)
        {
            Response.Redirect("RSLocationDetail.aspx?action=add");
        }

        protected void btnModalExistingLocation_Click(object sender, EventArgs e)
        {
            var nameValues = HttpUtility.ParseQueryString(Request.QueryString.ToString());
            string url = "RSViewLocations.aspx";
            string queryString = "?" + nameValues.ToString();
            Response.Redirect(url + queryString);
        }
        

    }
}


